package com.example.tool.erp.sdk.api.goods.dto;

import com.google.gson.annotations.SerializedName;

import java.math.BigDecimal;
import java.util.List;

public class ApiGoodsSearchResponse
{

	@SerializedName("goods_list") private List<ApiGoods> apiGoods;
	@SerializedName("total_count") private Integer total;

	public List<ApiGoods> getGoodsList()
	{
		return apiGoods;
	}

	public void setGoodsList(List<ApiGoods> apiGoods)
	{
		this.apiGoods = apiGoods;
	}

	public Integer getTotal()
	{
		return total;
	}

	public void setTotal(Integer total)
	{
		this.total = total;
	}

	public static class ApiGoods
	{
		@SerializedName("is_auto_match")private Integer autoMatch;
		@SerializedName("flag_id")private Integer flagId;
		@SerializedName("hold_stock")private BigDecimal holdStock;
		@SerializedName("spec_code")private String specCode;
		@SerializedName("match_code")private String matchCode;
		@SerializedName("merchant_code")private String merchantCode;
		@SerializedName("list_time")private String listTime;
		@SerializedName("stock_num")private BigDecimal stockNum;
		@SerializedName("hold_stock_type")private Byte holdStockType;
		@SerializedName("outer_id")private String outerId;
		@SerializedName("flag_name")private String flagName;
		@SerializedName("spec_outer_id")private String specOuterId;
		@SerializedName("is_deleted")private Byte deleted;
		@SerializedName("spec_id")private String specId;
		@SerializedName("price")private BigDecimal price;
		@SerializedName("is_auto_delisting")private Boolean autoDelisting;
		@SerializedName("is_auto_listing")private Boolean autoListing;
		@SerializedName("modified")private String modified;
		@SerializedName("match_target_id")private Integer matchTargetId;
		@SerializedName("barcode")private String barcode;
		@SerializedName("match_target_type")private Byte matchTargetType;
		@SerializedName("shop_no")private String shopNo;
		@SerializedName("goods_name")private String goodsName;
		@SerializedName("spec_sku_properties")private String specSkuProperties;
		@SerializedName("merchant_no")private String merchantNo;
		@SerializedName("created")private String created;
		@SerializedName("goods_id")private String goodsId;
		@SerializedName("disable_syn_until")private Integer disableSynUntil;
		@SerializedName("merchant_name")private String merchantName;
		@SerializedName("rec_id")private Integer recId;
		@SerializedName("disabled_reason")private String disabledReason;
		@SerializedName("shop_name")private String shopName;
		@SerializedName("last_syn_num")private BigDecimal lastSynNum;
		@SerializedName("brand_id")private Integer brandId;
		@SerializedName("shop_id")private Short shopId;
		@SerializedName("is_disable_syn")private Boolean disableSyn;
		@SerializedName("last_syn_time")private String lastSynTime;
		@SerializedName("delist_time")private String delistTime;
		@SerializedName("platform_id")private Short platformId;
		@SerializedName("spec_name")private String specName;
		@SerializedName("pic_url")private String picUrl;
		@SerializedName("status")private Byte status;
		@SerializedName("cid")private String cid;
		@SerializedName("stock_change_count")private Integer stockChangeCount;

		public Integer getAutoMatch()
		{
			return autoMatch;
		}

		public void setAutoMatch(Integer autoMatch)
		{
			this.autoMatch = autoMatch;
		}

		public Integer getFlagId()
		{
			return flagId;
		}

		public void setFlagId(Integer flagId)
		{
			this.flagId = flagId;
		}

		public BigDecimal getHoldStock()
		{
			return holdStock;
		}

		public void setHoldStock(BigDecimal holdStock)
		{
			this.holdStock = holdStock;
		}

		public String getSpecCode()
		{
			return specCode;
		}

		public void setSpecCode(String specCode)
		{
			this.specCode = specCode;
		}

		public String getMatchCode()
		{
			return matchCode;
		}

		public void setMatchCode(String matchCode)
		{
			this.matchCode = matchCode;
		}

		public String getMerchantCode()
		{
			return merchantCode;
		}

		public void setMerchantCode(String merchantCode)
		{
			this.merchantCode = merchantCode;
		}

		public String getListTime()
		{
			return listTime;
		}

		public void setListTime(String listTime)
		{
			this.listTime = listTime;
		}

		public BigDecimal getStockNum()
		{
			return stockNum;
		}

		public void setStockNum(BigDecimal stockNum)
		{
			this.stockNum = stockNum;
		}

		public Byte getHoldStockType()
		{
			return holdStockType;
		}

		public void setHoldStockType(Byte holdStockType)
		{
			this.holdStockType = holdStockType;
		}

		public String getOuterId()
		{
			return outerId;
		}

		public void setOuterId(String outerId)
		{
			this.outerId = outerId;
		}

		public String getFlagName()
		{
			return flagName;
		}

		public void setFlagName(String flagName)
		{
			this.flagName = flagName;
		}

		public String getSpecOuterId()
		{
			return specOuterId;
		}

		public void setSpecOuterId(String specOuterId)
		{
			this.specOuterId = specOuterId;
		}

		public Byte getDeleted()
		{
			return deleted;
		}

		public void setDeleted(Byte deleted)
		{
			this.deleted = deleted;
		}

		public String getSpecId()
		{
			return specId;
		}

		public void setSpecId(String specId)
		{
			this.specId = specId;
		}

		public BigDecimal getPrice()
		{
			return price;
		}

		public void setPrice(BigDecimal price)
		{
			this.price = price;
		}

		public Boolean getAutoDelisting()
		{
			return autoDelisting;
		}

		public void setAutoDelisting(Boolean autoDelisting)
		{
			this.autoDelisting = autoDelisting;
		}

		public Boolean getAutoListing()
		{
			return autoListing;
		}

		public void setAutoListing(Boolean autoListing)
		{
			this.autoListing = autoListing;
		}

		public String getModified()
		{
			return modified;
		}

		public void setModified(String modified)
		{
			this.modified = modified;
		}

		public Integer getMatchTargetId()
		{
			return matchTargetId;
		}

		public void setMatchTargetId(Integer matchTargetId)
		{
			this.matchTargetId = matchTargetId;
		}

		public String getBarcode()
		{
			return barcode;
		}

		public void setBarcode(String barcode)
		{
			this.barcode = barcode;
		}

		public Byte getMatchTargetType()
		{
			return matchTargetType;
		}

		public void setMatchTargetType(Byte matchTargetType)
		{
			this.matchTargetType = matchTargetType;
		}

		public String getShopNo()
		{
			return shopNo;
		}

		public void setShopNo(String shopNo)
		{
			this.shopNo = shopNo;
		}

		public String getGoodsName()
		{
			return goodsName;
		}

		public void setGoodsName(String goodsName)
		{
			this.goodsName = goodsName;
		}

		public String getSpecSkuProperties()
		{
			return specSkuProperties;
		}

		public void setSpecSkuProperties(String specSkuProperties)
		{
			this.specSkuProperties = specSkuProperties;
		}

		public String getMerchantNo()
		{
			return merchantNo;
		}

		public void setMerchantNo(String merchantNo)
		{
			this.merchantNo = merchantNo;
		}

		public String getCreated()
		{
			return created;
		}

		public void setCreated(String created)
		{
			this.created = created;
		}

		public String getGoodsId()
		{
			return goodsId;
		}

		public void setGoodsId(String goodsId)
		{
			this.goodsId = goodsId;
		}

		public Integer getDisableSynUntil()
		{
			return disableSynUntil;
		}

		public void setDisableSynUntil(Integer disableSynUntil)
		{
			this.disableSynUntil = disableSynUntil;
		}

		public String getMerchantName()
		{
			return merchantName;
		}

		public void setMerchantName(String merchantName)
		{
			this.merchantName = merchantName;
		}

		public Integer getRecId()
		{
			return recId;
		}

		public void setRecId(Integer recId)
		{
			this.recId = recId;
		}

		public String getDisabledReason()
		{
			return disabledReason;
		}

		public void setDisabledReason(String disabledReason)
		{
			this.disabledReason = disabledReason;
		}

		public String getShopName()
		{
			return shopName;
		}

		public void setShopName(String shopName)
		{
			this.shopName = shopName;
		}

		public BigDecimal getLastSynNum()
		{
			return lastSynNum;
		}

		public void setLastSynNum(BigDecimal lastSynNum)
		{
			this.lastSynNum = lastSynNum;
		}

		public Integer getBrandId()
		{
			return brandId;
		}

		public void setBrandId(Integer brandId)
		{
			this.brandId = brandId;
		}

		public Short getShopId()
		{
			return shopId;
		}

		public void setShopId(Short shopId)
		{
			this.shopId = shopId;
		}

		public Boolean getDisableSyn()
		{
			return disableSyn;
		}

		public void setDisableSyn(Boolean disableSyn)
		{
			this.disableSyn = disableSyn;
		}

		public String getLastSynTime()
		{
			return lastSynTime;
		}

		public void setLastSynTime(String lastSynTime)
		{
			this.lastSynTime = lastSynTime;
		}

		public String getDelistTime()
		{
			return delistTime;
		}

		public void setDelistTime(String delistTime)
		{
			this.delistTime = delistTime;
		}

		public Short getPlatformId()
		{
			return platformId;
		}

		public void setPlatformId(Short platformId)
		{
			this.platformId = platformId;
		}

		public String getSpecName()
		{
			return specName;
		}

		public void setSpecName(String specName)
		{
			this.specName = specName;
		}

		public String getPicUrl()
		{
			return picUrl;
		}

		public void setPicUrl(String picUrl)
		{
			this.picUrl = picUrl;
		}

		public Byte getStatus()
		{
			return status;
		}

		public void setStatus(Byte status)
		{
			this.status = status;
		}

		public String getCid()
		{
			return cid;
		}

		public void setCid(String cid)
		{
			this.cid = cid;
		}

		public Integer getStockChangeCount()
		{
			return stockChangeCount;
		}

		public void setStockChangeCount(Integer stockChangeCount)
		{
			this.stockChangeCount = stockChangeCount;
		}
	}
}
